package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pubinfo.passbook.common.entity.TRabbitmqPerson;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.pubinfo.passbook.common.entity.TRabbitmqPerson
 */
public interface TRabbitmqPersonMapper extends BaseMapper<TRabbitmqPerson> {
  TRabbitmqPerson findShengGongSiPersonByAcct(@Param("acct") String acct);
  
  List<String> findShengGongSiDepar();
  
  TRabbitmqPerson findWenZhouPersonByAcct(@Param("acct") String acct);
  
  List<TRabbitmqPerson> findDepartmentPersonByAcctId(@Param("acctId") String acctId);
  
  TRabbitmqPerson selectByAcctId(String accId);
  
  String selectAcctNameByAcct(String acct);
  
  Integer selectCountByName(@Param("name") String name);
  
  List<TRabbitmqPerson> selectAcctByNameAndPhone(@Param("name") String name, @Param("phone") String phone);
}




